import VueRouter from 'vue-router';
import dashboard from '../main/dashboard.vue';
import analysis from '../main/analysis.vue';
import employee from '../main/employee.vue';
import departments from '../main/departments.vue';
import holidays from '../main/holidays.vue';
import events from '../main/events.vue';
import activites from '../main/activites.vue';


let router = new VueRouter({
	routes: [
		{
			path: '/',
			redirect: '/dashboard'
		},
		{
			path: '/dashboard',
			component: dashboard
		},
		{
			path: '/analysis',
			component: analysis
		},
		{
			path: '/employee',
			component: employee
		},
		{
			path: '/departments',
			component: departments
		},
		{
			path: '/holidays',
			component: holidays
		},
		{
			path: '/events',
			component: events
		},
		{
			path: '/activites',
			component: activites
		}
	]
});

export default router;
